package com.own.component.common.util.encrypt;

import com.own.component.common.util.encrypt.util.Aes128Util;
import com.own.component.common.util.encrypt.util.AesUtil;
import com.own.component.common.util.encrypt.util.Base64Util;
import com.own.component.common.util.encrypt.util.HmacSha1Util;
import com.own.component.common.util.encrypt.util.HmacSha256Util;
import com.own.component.common.util.encrypt.util.LoopUtil;
import com.own.component.common.util.encrypt.util.Md5Util;
import com.own.component.common.util.encrypt.util.RsaPublicUtil;
import com.own.component.common.util.encrypt.util.RsaUtil;
import com.own.component.common.util.encrypt.util.Sha1Util;
import com.own.component.common.util.encrypt.util.Sha256Util;
import com.own.component.common.util.encrypt.util.Sha256withRsaUtil;
import com.own.component.common.util.encrypt.util.ShaUtil;

/**
 * EncryptUtil
 *
 * @author chenxueli
 * @date 2022-08-15 11:27:00
 */
public final class EncryptUtil {

    public static BaseEncryptUtil MD5 = new Md5Util();

    public static BaseEncryptUtil AES = new AesUtil();

    public static BaseEncryptUtil AES_128 = new Aes128Util();

    public static BaseEncryptUtil BASE64 = new Base64Util();

    public static BaseEncryptUtil HMAC_SHA_1 = new HmacSha1Util();

    public static BaseEncryptUtil HMAC_SHA_256 = new HmacSha256Util();

    public static BaseEncryptUtil RSA = new RsaUtil();

    public static BaseEncryptUtil RSA_PUBLIC = new RsaPublicUtil();

    public static ShaUtil SHA = new ShaUtil();

    public static BaseEncryptUtil SHA_1 = new Sha1Util();

    public static BaseEncryptUtil SHA_256 = new Sha256Util();

    public static BaseEncryptUtil SHA_256_WITH_RSA = new Sha256withRsaUtil();

    public static BaseEncryptUtil LOOP = new LoopUtil();

}
